import request from '../composables/modules/useRequest'
import type { Admin } from '~/composables/types'

let login = (admin: Admin) => {
    return request({
        url: '/login',
        method: 'post',
        data: admin
    })
}

export default {
    login
}